public NPromise<bool> SaveToFileAsync( System.string fileName, TDocFormat documentFormat, TDocSaveSettings saveSettings, System.bool reportErrors )
Parameters
- fileName
- documentFormat
- saveSettings
- reportErrors
- whether errors should be reported to the user
Return Value
a promise which resolves to true, if document was successfully saved, otherwise false